<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>个人考勤明细</title>
		<%@ include file="../../../common/meta.jsp"%>
<script type="text/javascript">
$(function() {
	fixTable.FixTable("mytable");
})
</script>
	</head>
	<body id="master">
			<sfa:mainHeader></sfa:mainHeader>

			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						个人考勤明细
						<div class="tools-btn"
							style="margin-right: 4px; margin-bottom: 0px;">
							<input type="button" class="linkbtn2" value="返回" id="return"
								onclick="javascript:history.go(-1);">
						</div>
					</div>
				</div>
			<div class="webpart-main">
				<div class="webpart-main-item" style="padding-top: 12px;">
					<div class="search">
						<table style="width: 100%;" cellspacing="0" cellpadding="0">
							<tr>
								<th>
									编号：${agentCode}
								</th>
								<th>
									姓名：${agentName}
								</th>
							</tr>
							<tr>
								<th>
									职级：
									<sfa:dic showType="value" code="AGENTLEVELCODE_${agentLevel}"
										def="ALL:全部"></sfa:dic>

								</th>
								<th>
									上级代理人：${agentInfo.managename}
									<c:if test="${!empty(agentInfo.managestatus)}">
										<em>（${agentInfo.managestatus}）</em>
									</c:if>
								</th>
							</tr>
						</table>
						<div id="mylist" style="height: 365px;" class="dlist">
							<table id="mytable" class="sortable trStyleTable dg_borderstyle" style="margin-top: 15px; width: 100%;text-align: center;"
							 cellspacing="0" cellpadding="0" >
								<thead>
									<tr>
										<th width="20px">
											序号
										</th>
										<th width="50px">
											考勤结果
										</th>
										<th width="250px">
											考勤起始时间段
										</th>
										<th width="50px">
											考勤人
										</th>
										<th width="80px">
											考勤类型
										</th>
										<th>
											备注
										</th>
									</tr>
								</thead>
								<tbody>
									<c:forEach items="${list}" var="result">
										<tr>
											<td>${result.seq}</td>
											<td>
												<sfa:dic showType="value" code="${result.checkStatus}"></sfa:dic>
											</td>
											<td>
												<fmt:formatDate value="${result.checkStartTime}"
													pattern="yyyy-MM-dd HH:mm" />
												~
												<fmt:formatDate value="${result.checkEndTime}"
													pattern="yyyy-MM-dd HH:mm" />
											</td>
											<td>
												${result.createUser}
											</td>
											<td>
												<sfa:dic showType="value" code="${result.checkItem}"></sfa:dic>
											</td>
											<td>
												${result.reamk}
											</td>
										</tr>
									</c:forEach>
								</tbody>
							</table>
						</div>
					</div>
					</div>	
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>
			</div>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>
